package com.lb.design.pattern.singleton.register;

/**
 * @author lb
 * @Title: EnumSingleton
 * @Description: TODO
 * @date 2019/03/12  16:13
 */
public enum  EnumSingleton {
    INSTANCE;

    private Object data;
    public Object getData() {
        return data;
    }
    public void setData(Object data) {
        this.data = data;
    }

    public static EnumSingleton getInstance(){
        return INSTANCE;
    }
}
